MPHB\Reports\EarningsReport B

Total Complexity 83
Dependencies 4
Dependents 1
Total lines 538
Lines of code 437
Logical lines of code 223
Comment lines 28
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
getDateTimeFormatOptions()
B
44 17 44
prepareJsonData()
A
40 11 58
prepareLegendData()
A
45 8 45
prepareReportLegend()
A
45 6 51
translateDataFilters()
S
53 7 24
renderDatesRangeFilters()
S
44 5 53
getDashLength()
S
56 5 20
renderReportDataFilter()
S
57 4 17
iterateDates()
S
59 4 15
prepareReportInfoData()
S
60 3 13
__construct()
S
51 1 29
renderReport()
S
61 1 22
preparePlotData()
S
68 2 7
enqueueScripts()
S
61 1 12
renderFilters()
S
81 1 3
renderReportTitle()
S
74 1 4
getBarWidth()
S
72 1 4
renderReportLegend()
S
81 1 3
renderReportInfo()
S
79 1 3
setShowDataTypes()
S
76 1 4
getShowDataTypes()
S
82 1 3
getData()
S
82 1 3